import unittest
from ddt import ddt,data,unpack
# @ddt
# class Test1(unittest.TestCase):
#     @data('111', '122', '133', '144')
#     def test1(self,value):
#         print('打印value值：',value)
#         self.assertIn('1',value)
# @ddt
# class Test2(unittest.TestCase):
#     @data(['aaa', 'abb', 'cbb'], ['add', 'aee', 'cff'])
#     @unpack
#     def test2(self, value1,value2,value3):
#         print(value1,value2,value3)
@ddt
class Test2(unittest.TestCase):
    @data(['aaa', 'abb', 'cbb'], ['add', 'aee', 'cff'])
    def test2(self, value):
        print(value)
if __name__ == '__main__':
    unittest.main()